<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户注册</title>
    <script>
        function show(){
            while(true){
                alert("一直点");
            }
        }
    </script>
</head>
<body>
<center>
    <h1> 用户注册 </h1>
    <form action="/myweb/reg" method="post">
    <table border="2">
        <tr>
            <td>用户名</td>
            <td><input name="username" type="text" size="32"></td>
        </tr>
        <tr>
            <td>密码</td>
            <td><input name="password" type="password" size="32"></td>
        </tr>
        <tr>
            <td>昵称</td>
            <td><input name="nickname" type="text" size="32"></td>
        </tr>
        <tr>
            <td>年龄</td>
            <td><input name="age" type="text" size="32"></td>
        </tr>
        <tr>
            <td><img src="/myweb/random.jpg"></td>
            <td><input name="code" type="text"></td>
        </tr>
        <tr>
            <td colspan="2" align="center"><input type="submit" value="注册"><br></td>
            <td><input type="button" value="一键注册" onclick="show()"></td>
        </tr>
    </table>
    </form>
</center>
</body>
</html>